/**
 * @author R
 * 商品筛选部分
 */

import request from './request';

/**
 * @method
 * @description 请求品牌选择接口 /category/sub/filter?id=1007000
 */
export const getProductFilter = (id) => request.get(`category/sub/filter?id=${id}`);

/**
 * 
 * @method 
 * @description 请求商品列表 https://apipc-xiaotuxian-front.itheima.net/category/goods/temporary
 */
export const getGoodsList = (model) => request.post('category/goods/temporary', model);